@import "./var";
@import "./resources/font/iconfont.css";
@import "./common/skin/flex.css";
@import "hack";
@import "./common/skin/animation.scss";



body{
  background-color: $bg-color;
  font-size: 14px;
  color: #4A4A4A;

  -webkit-overflow-scrolling: touch;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}


input,textarea{
  outline: none;
  &:focus{
    outline: none;
  }
}


a{
  text-decoration: none;
  color: inherit;
  &:hover,&:focus{
    text-decoration: none;
    color: inherit;
  }
  &:active{
    text-decoration: none;
    color: inherit;
  }
}

*{
  -webkit-tap-highlight-color  : rgba(0,0,0,0);
  *:focus{
      -webkit-tap-highlight-color  : rgba(0,0,0,0);
  }
}

//背景图片裁剪
.bg-img-clip{
  background-position: center;
  background-size: cover;
  background-color: #E5E5E5;
}



.text-color{
  color: $text-color;
}

.text-color-light{
  color: $text-light-color
}

.text-primary{
  color:  $primary-color;
}

.text-accent{
  color:  $accent-color;
}

.text-gray{
  color:  #9B9B9B;
}

.text-danger{
  color:  $danger-color;
}

.arrow-color{
  color: $arrow-color;
}

.bg-primary{
  color:  $primary-color;
}

.bg-accent{
  color:  $accent-color;
}

.bg-danger{
  color:  $danger-color;
}


.logo{
  background-image: url("./common/imgs/logo.png");
  background-size: 100% 100%;
}

.img-voucher-expire{
  width: 52px;
  height: 52px;
  background-image: url("./common/imgs/voucher-expire.png");
  background-size: 100% 100%;
}

.img-voucher-not-use{
  width: 52px;
  height: 52px;
  background-image: url("./common/imgs/voucher-not-use.png");
  background-size: 100% 100%;
}

.img-voucher-use{
  width: 52px;
  height: 52px;
  background-image: url("./common/imgs/voucher-use.png");
  background-size: 100% 100%;
}

.img-ve-dotted-line{
  width: 2px;
  height: 64px;
  background-image: url("./common/imgs/ve-dotted-line.png");
  background-size: 100% 100%;
}

.img-picture{
  width: 12px;
  height: 11px;
  background-image: url("./common/imgs/picture.png");
  background-size: 100% 100%;
}

.img-er-code{
  width: 140px;
  height: 140px;
  background-image: url("./common/imgs/code.png");
  background-size: 100% 100%;
}
.img-watermark{
  width: 106.5px;
  height: 102.5px;
  background-image: url("./common/imgs/v-watermark.png");
  background-size: 100% 100%;
}
.img-watermark-cancel{
  width: 106.5px;
  height: 102.5px;
  background-image: url("./common/imgs/v-watermark-cancel.png");
  background-size: 100% 100%;
}

.img-gold-cup{
  width: 22px;
  height: 22px;
  background-image: url("./common/imgs/gold-cup.png");
  background-size: 100% 100%;
}


.img-card-bg-price{
  font-size: 48px;
  color: #E13A4E;
  position: absolute;
  bottom: 29px;
  margin-left: 14px;
}

.img-gold-medal{
  width: 26px;
  height: 33.5px;
  background-image: url("./common/imgs/gold-medal.png");
  background-size: 100% 100%;
}

.img-silver-medal{
  width: 26px;
  height: 33px;
  background-image: url("./common/imgs/silver-medal.png");
  background-size: 100% 100%;
}

.img-copper-medal{
  width: 26px;
  height: 33px;
  background-image: url("./common/imgs/copper-meda.png");
  background-size: 100% 100%;
}

.img-line-gray{
  width: 106.5px;
  height: 1.5px;
  background-image: url("./common/imgs/line-gray.png");
  background-size: 100% 100%;
}

.img-card-bg{
  width: 284.5px;
  height: 111px;
  background-image: url("./common/imgs/card_bg.png");
  background-size: 100% 100%;
}

.img-green-bg{
  width: 100%;
  height: 140.5px;
  background-image: url("./common/imgs/green_bg.png");
  background-size: contain;
  background-repeat: repeat-x;
}


.logo-sm{
  width: 26.5px;
  height: 23.5px;
}

.logo-lg{
  width: 60px;
  height: 53.5px;
}


.pos-b-1{
  position: relative;
  bottom: -1px;
}

//placeholder
::-webkit-input-placeholder { /* WebKit browsers */
  color: $text-light-color;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: $text-light-color;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: $text-light-color;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: $text-light-color;
}




//输入框组件
.input-base{
  border: 1px solid $border-color;
  padding: 15px 10px;
  background: #fff;
  color: $text-light-color;
  box-shadow: none;
  font-size: 16px;

  &.input-sm{
    padding: 10.5px 8px;
    font-size: 14px;
  }
  &.input-cover{
      border-radius: 5px;
  }
  &.input-block{
    display: block;
    width: 100%;
    border-left:  0 ;
    border-right:0;
  }
}


//按钮样式
.btn{
  border-radius: 6px;
  padding : 8px 10px;
  text-align: center;
}

.btn:active{
    opacity: 1;
}


.btn-primary{
  background: $primary-color;
  color: #fff;


  &.btn-outline{
    background: transparent;
    color: $primary-color;
  }

  border : 1px solid $primary-color;

}

.btn-block{
  width: 100%;
}

.btn-seq{
  border-radius: 0;
}

.btn:disabled{
  background: #9B9B9B;
  color: #fff;
  border: 1px solid #9B9B9B;
}


.btn-hoz-md{
  width: 154px;
}


.w-f-100{
  width: 100%;
}



.btn-ve-md{
  padding: 12.5px 10px;
  font-size: 16px;
}

.ovh{
  overflow: hidden;
}

//select
.input-select{
    border: 1px solid $primary-color;
    height: 25px;
  .input-select-icon{
    height: inherit;
    background: $primary-color;
     width: 25px;
    line-height: 25px;
    text-align: center;
    color: #fff;
  }

  .input-content{
    text-align: center;
    color: $primary-color;
    padding: 0 8px;
  }
}

//到底部
.fixed-bottom-btn{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}


@keyframes kf-location {
    0%{
      @include transform(rotateY(0deg));
    }

  100%{
    @include transform(rotateY(360deg));
  }
}

.location-animation{
    @include animation(kf-location 1s ease 0s infinite both);
}
